# #!/usr/bin/env python
# # -*- encoding: utf-8 -*-
# '''
# @File    :   ETC_test.py
# @Time    :   2025/04/16 13:31:28
# @Author  :   YangLiang 
# @Version :   1.0
# @Contact :   yangl@genvict.com
# @License :   (C)Copyright 2022-2025
# @Desc    :   None
# '''

# # here put the import lib
# from cgitb import enable
# from email.message import Message
# from pytest_assume.plugin import assume
 
# import pytest
# import binascii
# import logging
# import time
# import requests
# from sympy import I
# # from sympy import assuming
# from commDriver.TS_CAN import *
# import allure
# import sys
# from collections.abc import Iterable

# from sqlalchemy import false
# sys.dont_write_bytecode = True
# import Set_up


# @allure.severity('critical')
# class Test_ETC_Phy(object):

#     @allure.title('OBU唤醒')
#     @allure.description('测试RSU唤醒OBU')
#     def test_Connect_OBU(self, action, Driver, InitRSU):
#         response = Driver['M600'].SendBSt()
#         vstParse = Driver['M600'].parse_VST_str(response)
#         logging.info(f'OBU唤醒成功,OBU ID = [{vstParse['MAC地址']}]')
#         with assume: assert vstParse['MAC地址'] != 'FFFFFFFF', logging.error(f'OBU唤醒失败,错误信息:{response}')